package com.xianyu.us.controller;
/**
 * 查询商品详情相关入口
 * @author dengzeming
 * 
 */
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.xianyu.us.pojo.vo.JsonResult;
import com.xianyu.us.service.UsShopsService;

@RequestMapping("/Shop/")
@Controller
public class UsShopsController {


	@Autowired
	private UsShopsService usShopsService;

	@RequestMapping("doFindShopsObjectById")
	public String doFindShopsObjectById(Integer commodityId,Model model) {
		model.addAttribute("oneGoods", usShopsService.findShopsObjectById(commodityId));
		return "pages/goods";
	}
}
